package com.lframework.xingyun.basedata.dto.make;

import com.lframework.starter.web.core.dto.BaseDto;
import com.lframework.xingyun.basedata.entity.ProductMake;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
public class ProductMakeDto extends ProductMake implements BaseDto, Serializable {

    @ApiModelProperty("商品id")
    private String productId;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("规格")
    private String spec;

    @ApiModelProperty("商品分类")
    private String categoryName;

    @ApiModelProperty("商品品牌")
    private String brandName;

    @ApiModelProperty("零售价")
    private BigDecimal retailPrice;

    @ApiModelProperty("状态")
    private Boolean available;
}
